<!---->
<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">进货申请单</h1>
</div>
<div class="wrapper-md" ng-controller="PurchaseOrderListController">
    <div class="panel panel-default">
        <div class="panel-heading font-bold">
            查询条件
        </div>
        <div class="panel-body">
            <form class="form-inline" role="form">
                <div class="form-group">
                    <label class="sr-only" for="exampleInputEmail2">Email address</label>
                    <input type="text" class="form-control" id="exampleInputEmail2" ng-model="condition.goodsName" placeholder="商品名称">
                </div>
                <div class="form-group">
                    <div class="input-group w-md">
                        <input type="text" class="form-control datetimepicker_" ng-model="condition.startTime"/>
                    </div>
                </div>
                <div class="form-group" ng-controller="DatepickerController">
                    <div class="input-group w-md">
                        <input type="text" class="form-control datetimepicker_" ng-model="condition.endTime"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="sr-only" for="goodslabel">标签</label>
                    <input type="text" class="form-control" id="goodslabel" ng-model="condition.label" placeholder="标签">
                </div>
                <button type="submit" class="btn btn-primary button-square button-small" ng-click="searchByFilter()">查询</button>
            </form>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading">
            查询结果
        </div>
        <div class="table-responsive" >
            <div ui-grid="gridOptions" style="min-height:420px"
                 class="grid"
                 ui-grid-pagination
                 ui-grid-resize-columns
                 ui-grid-move-columns
                 ui-grid-pinning
                 ui-grid-exporter
                 ui-grid-selection></div>
        </div>
    </div>
</div>
